From: David Zeuthen Date: Mon, 20 Dec 2010 20:06:16 +0000 (-0500) Subject: Make gnome-shell-clock-preferences work again X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9369 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=be96cb929150d3a26f90649b8f20a396c16fc8d9;p=gnome-shell.git Make gnome-shell-clock-preferences work again Thanks Owen and Colin for debugging this: does anyone have a clue about this cryptic error message: http://fpaste.org/aWgh/ ? davidz: well, I'd guess some sort of syntax error... hmm possibly but unlikely fallout from my js versioning oh, it's happening here too walters: exactly Adding --js-version=1.8 to the wrapper script fixes walters: I thought you were defaulting to allowing extensions? actually, let's do that now anyways Signed-off-by: David Zeuthen --- diff --git a/src/gnome-shell-clock-preferences.in b/src/gnome-shell-clock-preferences.in index b2f94986c..76391a8e0 100644 --- a/src/gnome-shell-clock-preferences.in +++ b/src/gnome-shell-clock-preferences.in @@ -18,7 +18,7 @@ uiFile="$uiDir/clock-preferences.ui" export GJS_PATH="$jsDir" export GSETTINGS_SCHEMA_DIR="$schemaDir" -@GJS_CONSOLE@ -c "const ClockPreferences = imports.prefs.clockPreferences; +@GJS_CONSOLE@ --js-version 1.8 -c "const ClockPreferences = imports.prefs.clockPreferences; ClockPreferences.main({ progName: '$progName', uiFile: '$uiFile', localeDir: '$localeDir' });"